package com.cowin.inf.service.impl;

import com.cowin.inf.dao.KyWebLogMapper;
import com.cowin.inf.service.MonitorService;
import com.cowin.sys.dao.TmVhcVehicleMovementMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * Copyright (C), 1998-2019, 奇瑞信息
 *
 * @author : 于超
 * @Date: 2020/1/10 11:12
 * @Description:
 */

@Service
@Transactional(rollbackFor = RuntimeException.class)
public class MonitorServiceImpl implements MonitorService {
    @Resource
    private TmVhcVehicleMovementMapper tmVhcVehicleMovementMapper;


    @Override
    public List<String> findVehicleBetweenPoint(Integer startUlocId,Integer endUlocId) {
        return tmVhcVehicleMovementMapper.findVehicleBetweenPoint(startUlocId,endUlocId);
    }



    @Override
    public List<String> findVehiclePointThru(Integer ulocId) {
        return tmVhcVehicleMovementMapper.findVehiclePointThru(ulocId);
    }
}
